package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class InsuranceVo {


    /**
     * 被保险单位
     */
    @ApiModelProperty(value = "被保险单位")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long companyId;
    /**
     * 承保单位
     */
    @ApiModelProperty(value = "承保单位")
    private String insuranceUnit;

    /**
     * 状态 0：启用  1：停用
     */
    @ApiModelProperty(value = "状态 0：启用  1：停用")
    private Integer status;
    /**
     * 参保人数
     */
    @ApiModelProperty(value = "参保人数")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Integer number;

    @ApiModelProperty(value = "单页条数")
    private Integer pageNum=1;

    @ApiModelProperty(value = "页码")
    private Integer pageSize=10;

    private String startTime;

    private String endTime;

}
